A Study of The Fragile Base Class Problem

نویسندگان

  • Leonid Mikhajlov
  • Emil Sekerinski
چکیده

In this paper we study the fragile base class problem. This problem occurs in open object-oriented systems employing code inheritance as an implementation reuse mechanism. System developers unaware of extensions to the system developed by its users may produce a seemingly acceptable revision of a base class which may damage its extensions. The fragile base class problem becomes apparent during maintenance of open object-oriented systems, but requires consideration during design. We express the fragile base class problem in terms of a exibility property. By means of ve orthogonal examples, violating the exibility property, we demonstrate di erent aspects of the problem. We formulate requirements for disciplining inheritance, and extend the re nement calculus to accommodate for classes, objects, class-based inheritance, and class re nement. We formulate and formally prove a exibility theorem demonstrating that the restrictions we impose on inheritance are sufcient to permit safe substitution of a base class with its revision in presence of extension classes.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

The Fragile Base Class Problem and Its Solution

In this paper we study the fragile base class problem. This problem occurs in open object-oriented systems employing code inheritance as an implementation reuse mechanism. System developers unaware of extensions to the system developed by its users may produce a seemingly acceptable revision of a base class which may damage its extensions. The fragile base class problem becomes apparent during ...

متن کامل

NON-FRAGILE GUARANTEED COST CONTROL OF T-S FUZZY TIME-VARYING DELAY SYSTEMS WITH LOCAL BILINEAR MODELS

This paper focuses on the non-fragile guaranteed cost control problem for a class of T-S fuzzy time-varying delay systems with local bilinear models. The objective is to design a non-fragile guaranteed cost state feedback controller via the parallel distributed compensation (PDC) approach such that the closed-loop system is delay-dependent asymptotically stable and the closed-loop performance i...

متن کامل

Selective Open Recursion: A Solution to the Fragile Base Class Problem

Current object-oriented languages do not fully protect the implementation details of a class from its subclasses, making it difficult to evolve that implementation without breaking subclass code. Previous solutions to the so-called fragile base class problem specify those implementation dependencies, but do not hide implementation details in a way that allows effective software evolution. In th...

متن کامل

Database as-a (OO)P language late binding, delegation, inheritance, and the Fragile Base Class problem

Database query and programming language are twins separated at birth: although they grew up in different communities and have rather different (inter)faces, they both accomplish the same task: instructing a computing system to locate a datum given its description (name, address), apply a certain transformation to it, and output/store the result. This common semantics makes it possible to "trans...

متن کامل

Selective Open Recursion: Modular Reasoning about Components and Inheritance

Current component-based systems with inheritance do not fully protect the implementation details of a class from its subclasses, making it difficult to evolve that implementation without breaking subclass code. Previous solutions to the so-called fragile base class problem specify those implementation dependencies, but do not hide implementation details in a way that allows effective software e...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1998